package com.cucn.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * -@EnableDiscoveryClient nacos注册
 * -@EnableFeignClients 调用端
 *
 * @author KouChaoJie
 * @since: 2021/9/24 15:56
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@ComponentScan(basePackages = {"com.cucn"})
public class EduApplication {
    public static void main(String[] args) {
        //KouTODO:2021/10/13 11:21 Kou 课程评论功能需要完善
        SpringApplication.run(EduApplication.class, args);
    }
}
